package com.sservice.service.service;

import com.sservice.model.entity.PurchaseOrderLog;
import com.sservice.model.vo.PurchaseOrderLogVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface PurchaseOrderLogService {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseOrderLog record);

    int insertSelective(PurchaseOrderLog record);

    PurchaseOrderLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchaseOrderLog record);

    int updateByPrimaryKey(PurchaseOrderLog record);

    int queryByCount(PurchaseOrderLogVo record);

    List<PurchaseOrderLogVo> queryByPage(PurchaseOrderLogVo record);

    void log(Object content, HttpServletRequest request, Integer purchaseId);
}